package com.kingdee.eas.ec.garden.settle.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.ec.basedata.BaseBillEntryCollection;
import com.kingdee.eas.ec.contract.biz.ContractSettleEntryCollection;
import com.kingdee.eas.ec.basedata.ResourceEntryCollection;
import com.kingdee.eas.ec.garden.settle.GaRentSettleEntryCollection;
import com.kingdee.eas.framework.CoreBillEntryBaseCollection;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.BillEntryBaseCollection;
import com.kingdee.eas.ec.garden.settle.GaRentSettleEntryInfo;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.eas.ec.basedata.CbsEntryCollection;
import com.kingdee.eas.ec.contract.biz.app.ContractSettleEntryControllerBean;



public abstract class AbstractGaRentSettleEntryControllerBean extends ContractSettleEntryControllerBean implements GaRentSettleEntryController
{
    protected AbstractGaRentSettleEntryControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("DB494CF2");
    }

    public GaRentSettleEntryInfo getGaRentSettleEntryInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("f4b5d8ea-b5c4-4cf5-9fb7-3a3d3fb3bc79"), new Object[]{ctx, pk});
            invokeServiceBefore(svcCtx);
            GaRentSettleEntryInfo retValue = (GaRentSettleEntryInfo)_getValue(ctx, pk);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk);
    }

    public GaRentSettleEntryInfo getGaRentSettleEntryInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("8520201c-6f77-451c-9146-2e29f094012b"), new Object[]{ctx, pk, selector});
            invokeServiceBefore(svcCtx);
            GaRentSettleEntryInfo retValue = (GaRentSettleEntryInfo)_getValue(ctx, pk, selector);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk, selector);
    }

    public GaRentSettleEntryInfo getGaRentSettleEntryInfo(Context ctx, String oql) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("726c3973-7098-4dcd-98f5-8dfa05de26c1"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaRentSettleEntryInfo retValue = (GaRentSettleEntryInfo)_getValue(ctx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
    {
        return super._getValue(ctx, oql);
    }

    public GaRentSettleEntryCollection getGaRentSettleEntryCollection(Context ctx, String oql) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("c60a1f7c-a0b9-47f1-b685-aeb2ad68f587"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaRentSettleEntryCollection retValue = (GaRentSettleEntryCollection)_getCollection(ctx, svcCtx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, oql);
    }

    public GaRentSettleEntryCollection getGaRentSettleEntryCollection(Context ctx, EntityViewInfo view) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("b8ba95c5-e300-4dc1-af75-0cfe9ed77998"), new Object[]{ctx, view});
            invokeServiceBefore(svcCtx);
            GaRentSettleEntryCollection retValue = (GaRentSettleEntryCollection)_getCollection(ctx, svcCtx, view);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, view);
    }

    public GaRentSettleEntryCollection getGaRentSettleEntryCollection(Context ctx) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("9456b0e1-95c4-45f7-b0b3-f6594e57e086"), new Object[]{ctx});
            invokeServiceBefore(svcCtx);
            GaRentSettleEntryCollection retValue = (GaRentSettleEntryCollection)_getCollection(ctx, svcCtx);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
    {
        return super._getCollection(ctx, svcCtx);
    }

    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaRentSettleEntryCollection(ctx).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaRentSettleEntryCollection(ctx, view).cast(ContractSettleEntryCollection.class));
    }
    public ContractSettleEntryCollection getContractSettleEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ContractSettleEntryCollection)(getGaRentSettleEntryCollection(ctx, oql).cast(ContractSettleEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaRentSettleEntryCollection(ctx).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaRentSettleEntryCollection(ctx, view).cast(ResourceEntryCollection.class));
    }
    public ResourceEntryCollection getResourceEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (ResourceEntryCollection)(getGaRentSettleEntryCollection(ctx, oql).cast(ResourceEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx) throws BOSException
    {
    	return (CbsEntryCollection)(getGaRentSettleEntryCollection(ctx).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CbsEntryCollection)(getGaRentSettleEntryCollection(ctx, view).cast(CbsEntryCollection.class));
    }
    public CbsEntryCollection getCbsEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (CbsEntryCollection)(getGaRentSettleEntryCollection(ctx, oql).cast(CbsEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaRentSettleEntryCollection(ctx).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaRentSettleEntryCollection(ctx, view).cast(BaseBillEntryCollection.class));
    }
    public BaseBillEntryCollection getBaseBillEntryCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseBillEntryCollection)(getGaRentSettleEntryCollection(ctx, oql).cast(BaseBillEntryCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaRentSettleEntryCollection(ctx).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaRentSettleEntryCollection(ctx, view).cast(BillEntryBaseCollection.class));
    }
    public BillEntryBaseCollection getBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (BillEntryBaseCollection)(getGaRentSettleEntryCollection(ctx, oql).cast(BillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaRentSettleEntryCollection(ctx).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaRentSettleEntryCollection(ctx, view).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBillEntryBaseCollection getCoreBillEntryBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBillEntryBaseCollection)(getGaRentSettleEntryCollection(ctx, oql).cast(CoreBillEntryBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBaseCollection)(getGaRentSettleEntryCollection(ctx).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBaseCollection)(getGaRentSettleEntryCollection(ctx, view).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBaseCollection)(getGaRentSettleEntryCollection(ctx, oql).cast(CoreBaseCollection.class));
    }
}